		function selectTag(showContent,selfObj){
			 // 操作标签
			 var tag1 = document.getElementById("tabs1").getElementsByTagName("li");
			 var tag2 = document.getElementById("tabs2").getElementsByTagName("li");
			 //var tag3 = document.getElementById("tabs3").getElementsByTagName("li");
			 var taglength = tag1.length;

			 for(i=0; i<taglength; i++){
			  tag1[i].className = "";
			  tag2[i].className = "";
			  //tag3[i].className = "";
			 }
			
			 selfObj.className = "select_li";
			 // 操作内容
			 for(i=1; j=document.getElementById("info_div"+i); i++)
			 {
			  	j.style.display = "none";
			 }
			 document.getElementById(showContent).style.display = "block";
		}

		function selectMore(showList,myUl){
			var nav = document.getElementById("info_nav").getElementsByTagName("li");
			var navlilength = nav.length;

			for(i=0; i<navlilength; i++){
				nav[i].className = "";
			}

			myUl.className = "select_rnav";

			for(i=1;j=document.getElementById("info_list"+i); i++)
			{
				j.style.display = "none";
			}
			 document.getElementById(showList).style.display = "block";
		}

		function selectPsw(showList,myUl){
			var nav = document.getElementById("info_psw_nav").getElementsByTagName("li");
			var navlilength = nav.length;

			for(i=0; i<navlilength; i++){
				nav[i].className = "";
			}

			myUl.className = "select_psw_rnav";

			for(i=1;j=document.getElementById("info_list_psw"+i); i++)
			{
				j.style.display = "none";
			}
			 document.getElementById(showList).style.display = "block";
		}
		function selectTl(showList,myUl){
			if(showList == 'main_tl_list1'){
				document.getElementById('main_search_right').style.display = "none";
			}
			else{
				document.getElementById('main_search_right').style.display = "block";
			}
			var nav = document.getElementById("main_tl_nav").getElementsByTagName("li");
			var navlilength = nav.length;

			for(i=0; i<navlilength; i++){
				nav[i].className = "";
			}

			myUl.className = "main_tl_select";

			for(i=1;j=document.getElementById("main_tl_list"+i); i++)
			{
				j.style.display = "none";
			}
			 document.getElementById(showList).style.display = "block";
		}
		function selectHt(showList,myUl){
			if(showList == 'main_ht_list1'){
				document.getElementById('main_search_ht_right').style.display = "none";
			}
			else{
				document.getElementById('main_search_ht_right').style.display = "block";
			}
			var nav = document.getElementById("main_ht_nav").getElementsByTagName("li");
			var navlilength = nav.length;

			for(i=0; i<navlilength; i++){
				nav[i].className = "";
			}

			myUl.className = "main_tl_select";

			for(i=1;j=document.getElementById("main_ht_list"+i); i++)
			{
				j.style.display = "none";
			}
			 document.getElementById(showList).style.display = "block";
		}

		$(document).ready(function(){
			$('.jd_info_rlist ul li dl dt i').click(function(){
				if($(this).hasClass('jd_info_rmore')){
					$(this).parents('li').siblings().children().find('i').removeClass('select_info_more').addClass('jd_info_rmore');
					//$(this).parents('li').siblings().children().find('i');
					$(this).parents('li').siblings().children().find('i').siblings().hide();
					$(this).removeClass('jd_info_rmore').addClass('select_info_more');
					$(this).siblings().show();
					//$(this).siblings().style.display="block";
				}else if($(this).hasClass('select_info_more')){
					$(this).removeClass('select_info_more').addClass('jd_info_rmore');
					$(this).siblings().hide();
				}
			});
		});
		//通知
		$(document).ready(function(){
			$('.right_box_ul li i').click(function(){
				if($(this).hasClass('select_tz_more')){
					$(this).parents('.right_box_ul').siblings().find('i').removeClass('select_tz_y').addClass('select_tz_more');
					//$(this).parents('li').siblings().children().find('i');
					$(this).parents('.right_box_ul').siblings().find('i').siblings().hide();
					$(this).removeClass('select_tz_more').addClass('select_tz_y');
					$(this).siblings().show();
					//$(this).siblings().style.display="block";
				}else if($(this).hasClass('select_tz_y')){ 
					$(this).removeClass('select_tz_y').addClass('select_tz_more');
					$(this).siblings().hide();
				}
			});
		});


		$(document).ready(function(){
			$(".jd_info_change").click(function(){
			$("#jd_info_change1,#jd_info_change2").toggle();
			 });
		});


		/*
		 * 弹出DIV层
		*/
		function showDiv()
		{
		var Idiv     = document.getElementById("Idiv");
		var mou_head = document.getElementById('mou_head');
		Idiv.style.display = "block";
		//以下部分要将弹出层居中显示
		Idiv.style.left=(document.documentElement.clientWidth-Idiv.clientWidth)/2+document.documentElement.scrollLeft+"px";
		Idiv.style.top =(document.documentElement.clientHeight-Idiv.clientHeight)/2+document.documentElement.scrollTop-50+"px";
		 
		//以下部分使整个页面至灰不可点击
		var procbg = document.createElement("div"); //首先创建一个div
		procbg.setAttribute("id","mybg"); //定义该div的id
		procbg.style.background = "#000000";
		procbg.style.width = "100%";
		procbg.style.height = "100%";
		procbg.style.position = "fixed";
		procbg.style.top = "0";
		procbg.style.left = "0";
		procbg.style.zIndex = "500";
		procbg.style.opacity = "0.4";
		procbg.style.filter = "Alpha(opacity=70)";
		//背景层加入页面
		document.body.appendChild(procbg);
		document.body.style.overflow = "hidden"; //取消滚动条
		
		}
		function closeDiv() //关闭弹出层
		{
		var Idiv=document.getElementById("Idiv");
		Idiv.style.display="none";
		document.body.style.overflow = "auto"; //恢复页面滚动条
		var body = document.getElementsByTagName("body");
		var mybg = document.getElementById("mybg");
		body[0].removeChild(mybg);
		}


		/*
		 * 弹出DIV层 新建话题
		*/
		function shownewhtDiv()
		{
		var y_div     = document.getElementById("y_div");
		var mou_head = document.getElementById('mou_head');
		y_div.style.display = "block";
		//以下部分要将弹出层居中显示
		y_div.style.left=(document.documentElement.clientWidth-y_div.clientWidth)/2+document.documentElement.scrollLeft+"px";
		y_div.style.top =(document.documentElement.clientHeight-y_div.clientHeight)/2+document.documentElement.scrollTop-50+"px";
		 
		//以下部分使整个页面至灰不可点击
		var procbg = document.createElement("div"); //首先创建一个div
		procbg.setAttribute("id","mybg"); //定义该div的id
		procbg.style.background = "#000000";
		procbg.style.width = "100%";
		procbg.style.height = "100%";
		procbg.style.position = "fixed";
		procbg.style.top = "0";
		procbg.style.left = "0";
		procbg.style.zIndex = "500";
		procbg.style.opacity = "0.4";
		procbg.style.filter = "Alpha(opacity=70)";
		//背景层加入页面
		document.body.appendChild(procbg);
		document.body.style.overflow = "hidden"; //取消滚动条
		
		}
		function closenewhtDiv() //关闭弹出层
		{
		var y_div=document.getElementById("y_div");
		y_div.style.display="none";
		document.body.style.overflow = "auto"; //恢复页面滚动条
		var body = document.getElementsByTagName("body");
		var mybg = document.getElementById("mybg");
		body[0].removeChild(mybg);
		}
		/*
		 * 弹出DIV层 讨论组设置
		*/
		function showclassDiv()
		{
		var cl_div     = document.getElementById("cl_div");
		var mou_head = document.getElementById('mou_head');
		cl_div.style.display = "block";
		//以下部分要将弹出层居中显示
		cl_div.style.left=(document.documentElement.clientWidth-cl_div.clientWidth)/2+document.documentElement.scrollLeft-300+"px";
		cl_div.style.top =(document.documentElement.clientHeight-cl_div.clientHeight)/2+document.documentElement.scrollTop-50+"px";
		 
		//以下部分使整个页面至灰不可点击
		var procbg = document.createElement("div"); //首先创建一个div
		procbg.setAttribute("id","mybg"); //定义该div的id
		procbg.style.background = "#000000";
		procbg.style.width = "100%";
		procbg.style.height = "100%";
		procbg.style.position = "fixed";
		procbg.style.top = "0";
		procbg.style.left = "0";
		procbg.style.zIndex = "500";
		procbg.style.opacity = "0.4";
		procbg.style.filter = "Alpha(opacity=70)";
		//背景层加入页面
		document.body.appendChild(procbg);
		document.body.style.overflow = "hidden"; //取消滚动条
		
		}
		function closeclassDiv() //关闭弹出层
		{
		var cl_div=document.getElementById("cl_div");
		cl_div.style.display="none";
		document.body.style.overflow = "auto"; //恢复页面滚动条
		var body = document.getElementsByTagName("body");
		var mybg = document.getElementById("mybg");
		body[0].removeChild(mybg);
		}


		function showExit(){
			var exit_div     = document.getElementById("exit_div");
			var mou_head = document.getElementById('mou_head');
			exit_div.style.display = "block";
			//以下部分要将弹出层居中显示
			exit_div.style.left=(document.documentElement.clientWidth-exit_div.clientWidth)/2+document.documentElement.scrollLeft-300+"px";
			exit_div.style.top =(document.documentElement.clientHeight-exit_div.clientHeight)/2+document.documentElement.scrollTop-50+"px";
			 
			//以下部分使整个页面至灰不可点击
			var procbg = document.createElement("div"); //首先创建一个div
			procbg.setAttribute("id","mybg"); //定义该div的id
			procbg.style.background = "#000000";
			procbg.style.width = "100%";
			procbg.style.height = "100%";
			procbg.style.position = "fixed";
			procbg.style.top = "0";
			procbg.style.left = "0";
			procbg.style.zIndex = "500";
			procbg.style.opacity = "0.4";
			procbg.style.filter = "Alpha(opacity=70)";
			//背景层加入页面
			document.body.appendChild(procbg);
			document.body.style.overflow = "hidden"; //取消滚动条
		}
		function closeExit(){
			var exit_div=document.getElementById("exit_div");
			exit_div.style.display="none";
			document.body.style.overflow = "auto"; //恢复页面滚动条
			var body = document.getElementsByTagName("body");
			var mybg = document.getElementById("mybg");
			body[0].removeChild(mybg);
		}

		function showInfoht(){
			var ht_div     = document.getElementById("ht_div");
			var mou_head = document.getElementById('mou_head');
			ht_div.style.display = "block";
			//以下部分要将弹出层居中显示
			ht_div.style.left=(document.documentElement.clientWidth-ht_div.clientWidth)/2+document.documentElement.scrollLeft-300+"px";
			ht_div.style.top =(document.documentElement.clientHeight-ht_div.clientHeight)/2+document.documentElement.scrollTop-50+"px";
			 
			//以下部分使整个页面至灰不可点击
			var procbg = document.createElement("div"); //首先创建一个div
			procbg.setAttribute("id","mybg"); //定义该div的id
			procbg.style.background = "#000000";
			procbg.style.width = "100%";
			procbg.style.height = "100%";
			procbg.style.position = "fixed";
			procbg.style.top = "0";
			procbg.style.left = "0";
			procbg.style.zIndex = "500";
			procbg.style.opacity = "0.4";
			procbg.style.filter = "Alpha(opacity=70)";
			//背景层加入页面
			document.body.appendChild(procbg);
			document.body.style.overflow = "hidden"; //取消滚动条
		}
		function closeInfoht(){
			var ht_div=document.getElementById("ht_div");
			ht_div.style.display="none";
			document.body.style.overflow = "auto"; //恢复页面滚动条
			var body = document.getElementsByTagName("body");
			var mybg = document.getElementById("mybg");
			body[0].removeChild(mybg);
		}

		$(document).ready(function(){
			$("#gz_ht").toggle(function(){
					$("#gz_ht").html('取消关注');
					$("#gz_ht").css("color","#55a9ed");
				
			},
				function(){
					$("#gz_ht").html('关注话题');
					$("#gz_ht").css("color","#6a7c94");
				}
			);
		});